package uit.minito.model;

import com.google.android.gms.maps.model.LatLng;

public class MyData {
	
	private double lat;
	private double lng;
	private String routerID;
	private String address;
	private String distanceResult;
	private RouterModel routerModel;
	private String timeResult;
	
	public String getTimeResult() {
		return timeResult;
	}

	public void setTimeResult(String timeResult) {
		this.timeResult = timeResult;
	}

	public MyData()
	{
		lat = 0;
		lng = 0;
		routerID = "";
		address = "";
		distanceResult = "";
		routerModel = null;
	}
	
	public LatLng getLatLng(){
		return new LatLng(lat, lng);
	}
	public RouterModel getRouterModel() {
		return routerModel;
	}

	public void setRouterModel(RouterModel routerModel) {
		this.routerModel = routerModel;
	}

	public String getDistanceResult() {
		return distanceResult;
	}

	public void setDistanceResult(String distanceResult) {
		this.distanceResult = distanceResult;
	}

	public MyData(double _lat, double _lng, String _routerID, String _address)
	{
		lat = _lat;
		lng = _lng;
		routerID = _routerID;
		address = _address;
	}

	public MyData(double _lat, double _lng)
	{
		lat = _lat;
		lng = _lng;
	}
	
	public String getRouterID() {
		return routerID;
	}

	public void setRouterID(String routerID) {
		this.routerID = routerID;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public double getLat() {
		return lat;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	public double getLng() {
		return lng;
	}

	public void setLng(double lng) {
		this.lng = lng;
	}
}
